(C) 1996 AROS - The Amiga Replacement OS


NAME
ULONG Procure()
SYNOPSIS
struct SignalSemaphore * sigSem
struct SemaphoreMessage * bidMsg

LOCATION
In SysBase at offset 90
FUNCTION
Tries to get a lock on a semaphore in an asynchronous manner. If the semaphore is not free this function will not wait but just post a request to the semaphore. As soon as the semaphore is available the bidMsg will return and make you owner of the semaphore.

INPUTS
sigSem
pointer to semaphore structure
bidMsg
pointer to a struct SemaphoreMessage. This should lie in public or at least shared memory.
RESULT
Principly none. Don't know. Just ignore it.

NOTES
Locks obtained with Procure() must be released with Vacate().

EXAMPLE
BUGS
SEE ALSO
Vacate()
INTERNALS
HISTORY
12.05.1997 aros
Fixed all headers
01.01.1997 ldp
Committed Amiga native (support) code

Changed clib to proto

10.12.1996 aros
Moved all #include's in the first column so makedepend can see it.
24.10.1996 aros
Use the official AROS macros over the __AROS versions.
13.09.1996 digulla
Use IPTR
13.08.1996 digulla
Replaced __AROS_LA by __AROS_LHA Replaced some __AROS_LH*I by __AROS_LH* Sorted and added includes
01.08.1996 digulla
Added standard header for all files
01.08.1996 digulla
Added copyright notics and made headers conform
28.07.1996 digulla
Initial revision
28.07.1996 digulla
First CVS version of AROS